package com.qingmi.farmer.viewmodel;

import android.databinding.ObservableField;

import com.qingmi.farmer.data.model.Param;
import com.wjjun.basemvpvm.viewmodel.BaseViewModel;

/**
 * 参数列表
 */
public class ParamItemViewModel extends BaseViewModel {
    public final ObservableField<String> key = new ObservableField<>();
    public final ObservableField<String> value = new ObservableField<>();

    public ParamItemViewModel(Param param) {
        this.key.set(param.getKey());
        this.value.set(param.getValue());
    }

}
